<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>Search Medial Profile</title>
		<%= stylesheet_link_tag("tables") %>
    </head>
    <body>
        <%= render(:partial => "search_form") %>
        <p>
            <% if !@query.nil? then %>
            <strong>Query Results</strong>
            #<%= @entrys.length %>
            <br/>
            <% end %>
            <% if !@query.nil?  then %>
            <strong>Query:</strong>
            <%= @query %>
            <% end %>
        </p>
        <%= render(:partial =>  "shared/entrys", :locals => {:entrys => @entrys}) if @entrys.length > 0 %>
    </body>
</html>
